<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
//1. Create a database connection
//$connection = mysql_connect("server", "user", "password");
//$connection = mssql_connect("server", "user", "password");
//handle is a reference to the connection
$connection = mysql_connect("localhost", "jib5212", "Philly0517");
 if (!$connection)
 {
     die("Database connection failed:" . mysql_error());
 }

//2. Select a database to use
$db_select = mysql_select_db("jib5212_SRS", $connection);
if (!$db_select){
   die("Database selection failed:" . mysql_error());
}
?>
<html>
    <head>
        <title>Database</title>
    </head>
    <body>
    </body>
</html>